﻿using IQIGame.Onigao.Framework.Serialization;
using IQIGame.Onigao.GamePlay;


namespace IQIGame.Onigao.Logic
{
    public partial class SkillTrigger_SelfAttacked_ConfigData : SkillCustomConfig
    {
        public bool triggerBySelf;
        public int damageType;
        public int desType;
        public int damageFrom;
    }

    public partial class SkillTrigger_SelfAttackOther_ConfigData : SkillCustomConfig
    {
        public bool triggerBySelf;
        public int damageType;
        public int desType;
        public int damageFrom;
    }

    public partial class SkillTrigger_SelfAddBuff_ConfigData : SkillCustomConfig
    {
        public int buffID;
        public int tag;
    }
    
    public partial class SkillTrigger_AddBuff_ConfigData : SkillCustomConfig
    {
        public int buffID;
        public int tag;
        public bool selfAdd;
        public bool selfTarget;
    }

    public partial class SkillTrigger_SelfCustomProperty_ConfigData : SkillCustomConfig
    {
        public int propertyType;
        public int value;
    }
    
    public partial class SkillTrigger_CustomProperty_ConfigData : SkillCustomConfig
    {
        public int propertyType;
        public string customKey;
        public int value;
        public bool onlySelf;
    }
    
    public partial class SkillTrigger_ExecuteSkill_ConfigData : SkillCustomConfig
    {
        public int skillType;
        public int relation;
        public bool trigger;
        public bool inputExecuter;
    }
    
    public partial class SkillTrigger_SkillDamageTempModify_ConfigData : SkillCustomConfig
    {
        public int attackerRealtion;
        public int defenderRealtion;

        public int skillType;
        public int damageType;
        public int skillTag;
    }
    
    public partial class SkillTrigger_Attacked_ConfigData : SkillCustomConfig
    {
        public int relation;
        public int damageType;
        public int desType;
        public int damageFrom;
    }
    
    public partial class SkillTrigger_UnitDie_ConfigData : SkillCustomConfig
    {
        public int relation;
    }
}